package com.cjy.job;

import java.util.regex.Pattern;

public class Constant {
    public static final String READER_NAME = "reader_name";
    public static final String READER_DB_USER_NAME = "reader_username";
    public static final String READER_DB_PASSWORD = "reader_password";
    public static final String READER_DB_URL = "reader_url";
    public static final String INC_TIME_SQL = "inc_time_sql";
    public static final String INC_START_TIME_PAREM = "startTime";
    public static final String INC_LAST_TIME_PAREM = "lastTime";

    public static final int STATE_CODE_INC_EMPTY = -1;
    public static final int STATE_CODE_INC_ERROR = -2;

    public  static  final String NORMAL_DATETIME_FORMAT="yyyy-MM-dd HH:mm:ss";

    public static final Pattern VARIABLE_PATTERN = Pattern.compile("(\\$)\\{?(\\w+)\\}?");
}
